
/**
 * @(#)McFactory.java 2017å¹´10æ9æ¥	ä¸å10:37:23 Copyrights (C) 2017é«å¾·ä¿¡æ¯ææ¯æéå¬å¸
 */
package com.wwy.monitor.service;

import com.wwy.monitor.service.impl.DingMcService;
import com.wwy.monitor.service.impl.MailMcService;
import com.wwy.monitor.util.SpringContextUtil;

/**
 * (ç±»ååè½è¯´ææè¿°)
 * <p>
 * ä¿®æ¹åå²:											<br>
 * ä¿®æ¹æ¥æ    		ä¿®æ¹äººå   	çæ¬	 		ä¿®æ¹åå®¹<br>
 * -------------------------------------------------<br>
 * 2017å¹´10æ9æ¥ ä¸å10:37:23   fulianqiu     1.0    	åå§ååå»º<br>
 * </p>
 * @author fulianqiu
 * @version 1.0
 * @since JDK1.7*/
public class McFactory {
    /**
     *
     * (è·åééåéå¯¹è±¡)
     * @return*/
    public static DingMcService getDingMc() {
        return (DingMcService) SpringContextUtil.getBean("dingMcService");
    }

    /**
     *
     * (è·åé®ä»¶åéå¯¹è±¡)
     * @return*/
    public static MailMcService getMailMcService() {
        return (MailMcService) SpringContextUtil.getBean("mailMcService");
    }
}